import { ApiProperty } from '@nestjs/swagger';
import { IsString } from 'class-validator';

export class CreateCarBrandDto {
  @ApiProperty({
    description: '品牌名称',
  })
  @IsString()
  name: string;

  @ApiProperty({
    description: '名称首字母',
  })
  @IsString()
  first_letter: string;

  @ApiProperty({
    description: 'logo',
  })
  @IsString()
  logo: string;
}
